<template>
	<view class="pagebox">
		<uv-parse class="" :content="content"></uv-parse>
	</view>
</template>
<script lang="ts" setup>
	import { ref } from 'vue';
	import { onLoad } from '@dcloudio/uni-app';
	import { http, apiPath } from '@/common/http/index';

	onLoad((e : any) => {
		get_info()
	});

	const [content,type] = [ref(''),ref()];
	const get_info = async () => {
		const res = await http.get(`/api/v1/agreement?type=`+3)
		content.value = res.data.content
	}
</script>
<style lang="scss" scoped>
	.pagebox {
		width: 100%;
		padding: 20rpx;

		// :deep(*) {
		// 	color: #666;
		// 	font-size: 26rpx;
		// 	line-height: 50rpx;
		// 	font-weight: normal !important;
		// 	text-indent: 50rpx;
		// }

		:deep(._root) {
			padding: 0;
		}
	}
</style>